/**
 *
 * @author John Creecy
 */

package battlebarnserver;

public class BattleBarnJMX implements BattleBarnJMXMBean {

	public int getClientListSize() {
		return BattleBarn.clientList.size();
	}

	public int getOldestClient() {
		return 1;
	}

	public int getActionStackSize() {
		return BattleBarn.actionStack.size();
	}

	public int getPeekPacketsSent() {
		return 1;
	}

	public int getPeekPacketsReceived() {
		return 1;
	}

	public int getGameStateSize() {
		return BattleBarn.gameState.size();
	}

	public int getProcessorWorkQueue() {
		return BattleBarn.processorWorkQueue.size();
	}

	public int getStateGeneratorWorkQueue() {
		return BattleBarn.stateGeneratorWorkQueue.size();
	}

	public int getPacketsIn() {
		return BattleBarn.packetsIn;
	}

	public int getPacketsOut() {
		return BattleBarn.packetsOut;
	}

	public int getPeakUsers() {
		return BattleBarn.peakUsers;
	}
}
